package com.springboot.demo.service;

import com.springboot.demo.domain.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {

    public User getUserById(int userId);

    boolean addUser(User user);

    List<User> selectAllUser();
}
